/**
 * 
 */
package com.hu.ta.assignment5.beans;

import java.io.Serializable;

/**
 * 
 * 
 * @author cage@g.com
 */
public class Tuple<X, Y> implements Comparable<Tuple<X, Y>>, Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5885818000412580335L;
	protected X x;
	protected Y y;

	public Tuple(X y, Y z) {
		this.x = y;
		this.y = z;
	}

	public X getX() {
		return x;
	}

	public Y getY() {
		return y;
	}

	@Override
	public int compareTo(Tuple<X, Y> tuple) {
		// return this.z.size() - tuple.z.size();
		// return -this.x.compareTo(tuple.x);
		return 0;
	}
}
